
#ifndef CONEARHANDLER_H
#define CONEARHANDLER_H

#include <BSphereHandler>
#include <BConearConstraint>
#include <BTextual>

using namespace BWE;

class ConearHandler : public BSphereHandler
{
public:
	ConearHandler();
	~ConearHandler();

protected:
	virtual void attached(BViewer* viewer);
	virtual void detached(BViewer* viewer);

	virtual void paint(BPainter& painter);
	virtual void render(BRender& render);

protected:
	BHolder<BNode>				_nodeA;
	BHolder<BNode>				_nodeB;
	BHolder<BConearConstraint>	_constraint;
	BHolder<BTextual>			_lengthText;
};

#endif

